import httpClient from "@/api/index";

export const loginAPI = async (params: any) => {
    return await httpClient.post("/auth/login", params);
}

export const getMenusByRoleId = async (Id: any) => {
    return await httpClient.get("/role/getMenusByRoleId?Id=" + Id );
}